package com.zmn.oms.business.interfaces.conf.cancel;

import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.entity.conf.cancel.OrderCancelCategory;

/**
 * @author tanbiao
 * @description
 * @since 2019/10/22 14:32
 * @modifier
 **/
public interface OrderCancelCategoryBService {
    /**
     * 功能描述 :新增，需要检查分类名称是否重复
     *
     * @param orderCancelCategory
     * @param creater
     * @return java.lang.Integer
     * @author tanbiao
     * @since 2019/10/22
     * @modifier
     */
    void insertAll(OrderCancelCategory orderCancelCategory, String creater) throws OmsBaseException;

    /**
     * 功能描述：修改，需要检查分类名称是否重复
     *
     * @param orderCancelCategory
     * @param creater
     * @return java.lang.Integer
     * @author tanbiao
     * @since 2019/10/22
     * @modifier
     */
    void updateAll(OrderCancelCategory orderCancelCategory, String creater) throws OmsBaseException;
}
